import { defineStore } from "pinia";

export const useAddressCardStore = defineStore('address', {
    state: () => ({
        addressList: []
    }),
    actions: {
        addAddress(data) {
            this.addressList.splice('')
            this.addressList.push(data);
            console.log(this.addressList);
        }
    }
});